WooCommerce\Square\Gateway\API\Requests\Orders S

Total Complexity 26
Dependencies 18
Dependents 1
Total lines 337
Lines of code 174
Logical lines of code 77
Comment lines 86
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
get_api_line_items()
S
55 6 18
set_create_order_data()
S
48 3 33
apply_taxes()
S
59 3 15
get_order_taxes()
S
58 2 16
get_product_line_items()
S
64 3 10
get_fee_line_items()
S
64 3 10
get_shipping_line_items()
S
64 3 10
add_discount_order_data()
S
51 1 30
add_line_item_order_data()
S
51 1 29
__construct()
S
80 1 3